package priv.lirenhe.dissertation.executor;

import priv.lirenhe.dissertation.component.crawler_robot.crawler_robot_executor.CrawlerRobotExecutor;

public class ClawlerThread {
	
	public void startThread(){
		//子线程启动爬虫
		new Thread(new Runnable(){
			@Override
			public void run() {
				System.out.println("子线程启动爬虫");
				CrawlerRobotExecutor crawlerRobotExecutor = new CrawlerRobotExecutor();
				crawlerRobotExecutor.execute();
			}
		}).start();
	}
}
